#-------------------------------------------------
#
# Project created by QtCreator 2016-11-01T20:23:22
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS
#DEFINES += D_USE_JOYSTIC
#DEFINES += D_USE_FLEET_WINDOW
#DEFINES += D_FOR_AGV
QT       += core gui network

TRANSLATIONS += mainWindowEnglishLan.ts

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = hmiMain
TEMPLATE = app

SOURCES += main.cpp\
        mainwindow.cpp \
    hmimessageboxdialog.cpp \
    hmifilmlabel.cpp \
    connectionfunction.cpp



HEADERS  += mainwindow.h \
    hmimessageboxdialog.h \
    hmifilmlabel.h \
    connectionfunction.h


if(contains(DEFINES,BUILD_ARM)){

SOURCES +=  dbus_src/qdevicewatcher_wince.cpp \
    dbus_src/qdevicewatcher_win32.cpp \
    dbus_src/qdevicewatcher_linux.cpp \
    dbus_src/qdevicewatcher.cpp \
    dbus_src/qdevicechangeevent.cpp

HEADERS  += hotplugwatcher.h \
    dbus_src/qdevicewatcher_p.h \
    dbus_src/qdevicewatcher_global.h \
    dbus_src/qdevicewatcher.h \
    dbus_src/qdevicechangeevent.h

}

############### INCLUDEPATH +=
INCLUDEPATH += ../PalletSettingView
INCLUDEPATH += ../ChinesevirtualKeyBoard
INCLUDEPATH += ../FileGeneralManagement
INCLUDEPATH += ../WeldSettingView
INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine

INCLUDEPATH += ../src/WindowShowManage
INCLUDEPATH +=  ../src/MultiRobotControlDlg
INCLUDEPATH += ../src/RobotSettingDlg

INCLUDEPATH += ../src/CommunicateDelegate

INCLUDEPATH += ../src/delegate1
INCLUDEPATH += ../src/login1

INCLUDEPATH += ../src/leftview
INCLUDEPATH += ../src/leftviewdelegate

INCLUDEPATH += ../src/topview
INCLUDEPATH += ../src/topviewdelegate

INCLUDEPATH += ../src/rightview
INCLUDEPATH += ../src/rightviewdelegate

INCLUDEPATH += ../src/bottomview
INCLUDEPATH += ../src/bottomviewdelegate

INCLUDEPATH += ../src/leftfun
INCLUDEPATH += ../src/leftfundelegate

INCLUDEPATH += ../src/rightfun
INCLUDEPATH += ../src/rightfundelegate

INCLUDEPATH += ../src/RunView
INCLUDEPATH += ../src/RunDelegate

INCLUDEPATH += ../src/JogView
INCLUDEPATH += ../src/JogDelegate

INCLUDEPATH += ../src/instruction/MotionInstructionView
INCLUDEPATH += ../src/instruction/MotionInstructionDelegate
INCLUDEPATH += ../src/instruction/IfInstructionView
INCLUDEPATH += ../src/instruction/IfInstructionDelegate
INCLUDEPATH += ../src/instruction/LabelJmpView
INCLUDEPATH += ../src/instruction/LabelJmpDelegate
INCLUDEPATH += ../src/instruction/WaitInstructionView
INCLUDEPATH += ../src/instruction/WaitInstructionDelegate
INCLUDEPATH += ../src/instruction/ForInstructionView
INCLUDEPATH += ../src/instruction/ForInstructionDelegate
INCLUDEPATH += ../src/instruction/RegisterInstructionView
INCLUDEPATH += ../src/instruction/RegisterInstructionDelegate
INCLUDEPATH += ../src/instruction/SelectInstructionView
INCLUDEPATH += ../src/instruction/SelectInstructionDelegate
INCLUDEPATH += ../src/instruction/SkipConditionView
INCLUDEPATH += ../src/instruction/SkipConditionDelegate
INCLUDEPATH += ../src/instruction/OutputInstructionView
INCLUDEPATH += ../src/instruction/OutputInstructionDelegate
INCLUDEPATH += ../src/instruction/CoordinateInstructionView
INCLUDEPATH += ../src/instruction/CoordinateInstructionDelegate
INCLUDEPATH += ../src/instruction/OtherInstructionView
INCLUDEPATH += ../src/instruction/OtherInstructionDelegate
INCLUDEPATH += ../src/instruction/PalletInstructionView
INCLUDEPATH += ../src/instruction/PalletInstructionDelegate
INCLUDEPATH += ../src/instruction/VisionInstructionView
INCLUDEPATH += ../src/instruction/VisionInstructionDelegate
INCLUDEPATH += ../src/instruction/StampInstructionView
INCLUDEPATH += ../src/instruction/StampInstructionDelegate
INCLUDEPATH += ../src/programView
INCLUDEPATH += ../src/programDelegate
INCLUDEPATH += ../src/instruction/ModbusStartInstructionView
INCLUDEPATH += ../src/instruction/ModbusStartInstructionDelegate
INCLUDEPATH += ../src/instruction/ModbusReadInstructionView
INCLUDEPATH += ../src/instruction/ModbusReadInstructionDelegate
INCLUDEPATH += ../src/instruction/ModbusWriteInstructionView
INCLUDEPATH += ../src/instruction/ModbusWriteInstructionDeleagate
INCLUDEPATH += ../src/instruction/MoveMagInstructionView
INCLUDEPATH += ../src/instruction/MoveMagInstructionDelegate
INCLUDEPATH += ../src/instruction/MoveFreeInstructionView
INCLUDEPATH += ../src/instruction/MoveFreeInstructionDelegate
INCLUDEPATH += ../src/instruction/MoveFreeInstructionTrackView

INCLUDEPATH += ../src/instruction/OdometryInstructionView
INCLUDEPATH += ../src/instruction/OdometryInstructionDelegate

INCLUDEPATH += ../src/instruction/TCPStartInstructionView
INCLUDEPATH += ../src/instruction/TCPStartInstructionDelegate

INCLUDEPATH += ../src/instruction/TCPReadInstructionView
INCLUDEPATH += ../src/instruction/TCPReadInstructionDelegate

INCLUDEPATH += ../src/instruction/TCPWriteInstructionView
INCLUDEPATH += ../src/instruction/TCPWriteInstructionDelegate

INCLUDEPATH += ../src/instruction/MusicInstructionView
INCLUDEPATH += ../src/instruction/MusicInstructionDelegate

INCLUDEPATH += ../src/instruction/ChargingInstructionView
INCLUDEPATH += ../src/instruction/ChargingInstructionDelegate

INCLUDEPATH += ../src/instruction/LiftMechanismInstructionView
INCLUDEPATH += ../src/instruction/LiftMechanismInstructionDelegate

INCLUDEPATH += ../src/instruction/LoadMapInstructionView
INCLUDEPATH += ../src/instruction/LoadMapInstructionDelegate

INCLUDEPATH += ../src/instruction/RobotMoveInstructionView
INCLUDEPATH += ../src/instruction/RobotMoveInstructionDelegate

INCLUDEPATH += ../src/instruction/RollerInstructionDelegate
INCLUDEPATH += ../src/instruction/RollerInstructionView

INCLUDEPATH += ../src/systemstatus
INCLUDEPATH += ../src/systemstatusdelegate

INCLUDEPATH += ../src/messageView
INCLUDEPATH += ../src/messageDelegate

INCLUDEPATH += ../src/programFileView
INCLUDEPATH += ../src/programFileDelegate

INCLUDEPATH += ../src/HomeMenuView
INCLUDEPATH += ../src/HomeMenuDelegate

INCLUDEPATH += ../src/DeviceDriver

INCLUDEPATH += ../src/MiddleViewDelegate

INCLUDEPATH += ../src/FtpManage

INCLUDEPATH += ../src/FileManage
INCLUDEPATH += ../src/FileManageDelegate

INCLUDEPATH += ../src/ProgramLanguageTranslate

############### DEPENDPATH +=


DEPENDPATH += ../src/CommunicateDelegate

DEPENDPATH += ../src/delegate1
DEPENDPATH += ../src/login1

DEPENDPATH += ../src/leftview
DEPENDPATH += ../src/leftviewdelegate

DEPENDPATH += ../src/topview
DEPENDPATH += ../src/topviewdelegate

DEPENDPATH += ../src/rightview
DEPENDPATH += ../src/rightviewdelegate

DEPENDPATH += ../src/bottomview
DEPENDPATH += ../src/bottomviewdelegate

DEPENDPATH += ../src/leftfun
DEPENDPATH += ../src/leftfundelegate

DEPENDPATH += ../src/rightfun
DEPENDPATH += ../src/rightfundelegate

DEPENDPATH += ../src/RunView
DEPENDPATH += ../src/RunDelegate

DEPENDPATH += ../src/JogView
DEPENDPATH += ../src/JogDelegate

DEPENDPATH += ../src/programView
DEPENDPATH += ../src/programDelegate
DEPENDPATH += ../src/instruction/MotionInstructionView
DEPENDPATH += ../src/instruction/MotionInstructionDelegate
DEPENDPATH += ../src/instruction/IfInstructionView
DEPENDPATH += ../src/instruction/IfInstructionDelegate
DEPENDPATH += ../src/instruction/LabelJmpView
DEPENDPATH += ../src/instruction/LabelJmpDelegate
DEPENDPATH += ../src/instruction/WaitInstructionView
DEPENDPATH += ../src/instruction/WaitInstructionDelegate
DEPENDPATH += ../src/instruction/ForInstructionView
DEPENDPATH += ../src/instruction/ForInstructionDelegate
DEPENDPATH += ../src/instruction/RegisterInstructionView
DEPENDPATH += ../src/instruction/RegisterInstructionDelegate
DEPENDPATH += ../src/instruction/SelectInstructionView
DEPENDPATH += ../src/instruction/SelectInstructionDelegate
DEPENDPATH += ../src/instruction/SkipConditionView
DEPENDPATH += ../src/instruction/SkipConditionDelegate
DEPENDPATH += ../src/instruction/OutputInstructionView
DEPENDPATH += ../src/instruction/OutputInstructionDelegate
DEPENDPATH += ../src/instruction/CoordinateInstructionView
DEPENDPATH += ../src/instruction/CoordinateInstructionDelegate
DEPENDPATH += ../src/instruction/OtherInstructionView
DEPENDPATH += ../src/instruction/OtherInstructionDelegate
DEPENDPATH += ../src/instruction/PalletInstructionView
DEPENDPATH += ../src/instruction/PalletInstructionDelegate
DEPENDPATH += ../src/instruction/VisionInstructionView
DEPENDPATH += ../src/instruction/VisionInstructionDelegate
DEPENDPATH += ../src/instruction/StampInstructionView
DEPENDPATH += ../src/instruction/StampInstructionDelegate

DEPENDPATH += ../src/instruciton/ChargingInstructionView
DEPENDPATH += ../src/instruction/ChargingInstructionDelegate
DEPENDPATH += ../src/instruction/LoadMapInstructionView
DEPENDPATH += ../src/instruction/LoadMapInstructionDelegate

DEPENDPATH += ../src/instruction/RobotMoveInstructionView
DEPENDPATH += ../src/instruction/RobotMoveInstructionDelegate

DEPENDPATH += ../src/instruction/RollerInstructionView
DEPENDPATH += ../src/instruction/RollerInstructionDelegate

DEPENDPATH += ../src/systemstatus
DEPENDPATH += ../src/systemstatusdelegate

DEPENDPATH += ../src/messageView
DEPENDPATH += ../src/messageDelegate

DEPENDPATH += ../src/programFileView
DEPENDPATH += ../src/programFileDelegate

DEPENDPATH += ../src/HomeMenuView
DEPENDPATH += ../src/HomeMenuDelegate

DEPENDPATH += ../src/DeviceDriver

DEPENDPATH += ../src/MiddleViewDelegate

DEPENDPATH += ../src/FtpManage

DEPENDPATH += ../src/FileManage
DEPENDPATH += ../src/FileManageDelegate

DEPENDPATH += ../src/ProgramLanguageTranslate

if(contains(DEFINES,BUILD_X86_WINDOWS)){

DESTDIR = ../../bin/x86_WINDOWS

LIBS     += -L../../lib/x86_WINDOWS -lCommunicateDelegate

LIBS     += -L../../lib/x86_WINDOWS -ldelegate
LIBS     += -L../../lib/x86_WINDOWS -llogin

LIBS     += -L../../lib/x86_WINDOWS -lleftview
LIBS     += -L../../lib/x86_WINDOWS -lleftviewdelegate

LIBS     += -L../../lib/x86_WINDOWS -ltopview
LIBS     += -L../../lib/x86_WINDOWS -ltopviewdelegate

LIBS     += -L../../lib/x86_WINDOWS -lrightview
LIBS     += -L../../lib/x86_WINDOWS -lrightviewdelegate

LIBS     += -L../../lib/x86_WINDOWS -lbottomview
LIBS     += -L../../lib/x86_WINDOWS -lbottomviewdelegate

LIBS     += -L../../lib/x86_WINDOWS -lleftfun
LIBS     += -L../../lib/x86_WINDOWS -lleftfundelegate

LIBS     += -L../../lib/x86_WINDOWS -lrightfun
LIBS     += -L../../lib/x86_WINDOWS -lrightfundelegate

LIBS     += -L../../lib/x86_WINDOWS -lMiddleViewDelegate

LIBS     += -L../../lib/x86_WINDOWS -lRunView
LIBS     += -L../../lib/x86_WINDOWS -lRunDelegate

LIBS     += -L../../lib/x86_WINDOWS -lJogView
LIBS     += -L../../lib/x86_WINDOWS -lJogDelegate

LIBS     += -L../../lib/x86_WINDOWS -lprogramView
LIBS     += -L../../lib/x86_WINDOWS -lprogramDelegate



LIBS     += -L../../lib/x86_WINDOWS -lMotionInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lMotionInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lIfInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lIfInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lLabelJmpView
LIBS     += -L../../lib/x86_WINDOWS -lLabelJmpDelegate
LIBS     += -L../../lib/x86_WINDOWS -lWaitInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lWaitInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lForInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lForInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lRegisterInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lRegisterInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lSelectInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lSelectInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lSkipConditionView
LIBS     += -L../../lib/x86_WINDOWS -lSkipConditionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lOutputInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lOutputInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lCoordinateInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lCoordinateInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lOtherInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lOtherInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lPalletInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lPalletInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lVisionInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lVisionInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lStampInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lStampInstructionDelegate

LIBS     += -L../../lib/x86_WINDOWS -lChargingInstructionDelegate
LIBS     += -L../../lib/x86_WINDOWS -lChargingInstructionView

LIBS     += -L../../lib/x86_WINDOWS -lLoadMapInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lLoadMapInstructionDelegate

LIBS     += -L../../lib/x86_WINDOWS -lsystemstatus
LIBS     += -L../../lib/x86_WINDOWS -lsystemstatusdelegate

LIBS     += -L../../lib/x86_WINDOWS -lmessageView
LIBS     += -L../../lib/x86_WINDOWS -lmessageDelegate

LIBS     += -L../../lib/x86_WINDOWS -lprogramFileView
LIBS     += -L../../lib/x86_WINDOWS -lprogramFileDelegate

LIBS     += -L../../lib/x86_WINDOWS -lHomeMenuView
LIBS     += -L../../lib/x86_WINDOWS -lHomeMenuDelegate

LIBS     += -L../../lib/x86_WINDOWS -lVrepConfigView
LIBS     += -L../../lib/x86_WINDOWS -lVrepConfigDelegate

LIBS     += -L../../lib/x86_WINDOWS -lRobotMoveInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lRobotMoveInstructionDelegate

LIBS     += -L../../lib/x86_WINDOWS -lRollerInstructionView
LIBS     += -L../../lib/x86_WINDOWS -lRollerInstructionDelegate

}


if(contains(DEFINES,BUILD_X86_LINUX)){

DESTDIR = ../../bin/x86


#LIBS     += -L../../lib/x86 -lChinesevirtualKeyBoard
LIBS     += -L../../lib/x86 -lLaserCameraConfigView
LIBS     += -L../../lib/x86 -lfleetDebugView
LIBS     += -L../../lib/x86 -lbeltTrackView
LIBS     += -L../../lib/x86 -lAxisSettingView

LIBS     += -L../../lib/x86 -lCoupleControlView
LIBS     += -L../../lib/x86 -lDomParser
LIBS     += -L../../lib/x86 -lMultiRobotControlDlg

LIBS     += -L../../lib/x86 -lRobotSettingDlg


LIBS     += -L../../lib/x86 -lCommunicateDelegate

#LIBS     += -L../../lib/x86 -lDeviceDriver
LIBS     += -L../../lib/x86 -lJoyStickFunction
LIBS     += -L../../lib/x86 -ldelegate
LIBS     += -L../../lib/x86 -llogin

LIBS     += -L../../lib/x86 -lleftview
LIBS     += -L../../lib/x86 -lleftviewdelegate

LIBS     += -L../../lib/x86 -ltopview
LIBS     += -L../../lib/x86 -ltopviewdelegate

LIBS     += -L../../lib/x86 -lrightview
LIBS     += -L../../lib/x86 -lrightviewdelegate

LIBS     += -L../../lib/x86 -lbottomview
LIBS     += -L../../lib/x86 -lbottomviewdelegate

LIBS     += -L../../lib/x86 -lleftfun
LIBS     += -L../../lib/x86 -lleftfundelegate

LIBS     += -L../../lib/x86 -lrightfun
LIBS     += -L../../lib/x86 -lrightfundelegate

LIBS     += -L../../lib/x86 -lMiddleViewDelegate

LIBS += -L../../lib/x86 -lWeldToolView

LIBS     += -L../../lib/x86 -lRunView
LIBS     += -L../../lib/x86 -lRunDelegate

LIBS     += -L../../lib/x86 -lJogView
LIBS     += -L../../lib/x86 -lJogDelegate

LIBS     += -L../../lib/x86 -lprogramView
LIBS     += -L../../lib/x86 -lprogramDelegate

LIBS     += -L../../lib/x86 -lMotionInstructionView
LIBS     += -L../../lib/x86 -lMotionInstructionDelegate
LIBS     += -L../../lib/x86 -lIfInstructionView
LIBS     += -L../../lib/x86 -lIfInstructionDelegate
LIBS     += -L../../lib/x86 -lLabelJmpView
LIBS     += -L../../lib/x86 -lLabelJmpDelegate
LIBS     += -L../../lib/x86 -lWaitInstructionView
LIBS     += -L../../lib/x86 -lWaitInstructionDelegate
LIBS     += -L../../lib/x86 -lForInstructionView
LIBS     += -L../../lib/x86 -lForInstructionDelegate
LIBS     += -L../../lib/x86 -lRegisterInstructionView
LIBS     += -L../../lib/x86 -lRegisterInstructionDelegate
LIBS     += -L../../lib/x86 -lSelectInstructionView
LIBS     += -L../../lib/x86 -lSelectInstructionDelegate
LIBS     += -L../../lib/x86 -lSkipConditionView
LIBS     += -L../../lib/x86 -lSkipConditionDelegate
LIBS     += -L../../lib/x86 -lOutputInstructionView
LIBS     += -L../../lib/x86 -lOutputInstructionDelegate
LIBS     += -L../../lib/x86 -lCoordinateInstructionView
LIBS     += -L../../lib/x86 -lCoordinateInstructionDelegate
LIBS     += -L../../lib/x86 -lOtherInstructionView
LIBS     += -L../../lib/x86 -lOtherInstructionDelegate
LIBS     += -L../../lib/x86 -lPalletInstructionView
LIBS     += -L../../lib/x86 -lPalletInstructionDelegate
LIBS     += -L../../lib/x86 -lVisionInstructionView
LIBS     += -L../../lib/x86 -lVisionInstructionDelegate
LIBS     += -L../../lib/x86 -lStampInstructionView
LIBS     += -L../../lib/x86 -lStampInstructionDelegate

LIBS     += -L../../lib/x86 -lsystemstatus
LIBS     += -L../../lib/x86 -lsystemstatusdelegate

LIBS     += -L../../lib/x86 -lmessageView
LIBS     += -L../../lib/x86 -lmessageDelegate

LIBS     += -L../../lib/x86 -lprogramFileView
LIBS     += -L../../lib/x86 -lprogramFileDelegate


LIBS     += -L../../lib/x86 -lHomeMenuView
LIBS     += -L../../lib/x86 -lHomeMenuDelegate

LIBS     += -L../../lib/x86 -lVrepConfigView
LIBS     += -L../../lib/x86 -lVrepConfigDelegate

LIBS     += -L../../lib/x86 -lPalletSettingView

LIBS += -L../../lib/x86 -lMoveMagInstructionDelegate
LIBS += -L../../lib/x86 -lMoveMagInstructionView

LIBS += -L../../lib/x86 -lMoveFreeInstructionView
LIBS += -L../../lib/x86 -lMoveFreeInstructionDelegate

LIBS += -L../../lib/x86 -lModbusStartInstructionDelegate
LIBS += -L../../lib/x86 -lModbusStartInstructionView

LIBS += -L../../lib/x86 -lModbusReadInstructionDelegate
LIBS += -L../../lib/x86 -lModbusReadInstructionView

LIBS += -L../../lib/x86 -lModbusWriteInstructionDelegate
LIBS += -L../../lib/x86 -lModbusWriteInstructionView

LIBS += -L ../../lib/x86 -lOdometryInstructionView
LIBS += -L ../../lib/x86 -lOdometryInstructionDelegate

LIBS += -L ../../lib/x86 -lTCPStartInstructionView
LIBS += -L ../../lib/x86 -lTCPStartInstructionDelegate

LIBS += -L ../../lib/x86 -lTCPReadInstructionView
LIBS += -L ../../lib/x86 -lTCPReadInstructionDelegate

LIBS += -L ../../lib/x86 -lTCPWriteInstructionView
LIBS += -L ../../lib/x86 -lTCPWriteInstructionDelegate

LIBS += -L ../../lib/x86 -lFtpManage
LIBS     += -L../../lib/x86 -lQtFtp

LIBS += -L ../../lib/x86 -lMusicInstructionView
LIBS += -L ../../lib/x86 -lMusicInstructionDelegate

LIBS += -L../../lib/x86 -lChargingInstructionDelegate
LIBS += -L../../lib/x86 -lChargingInstructionView

LIBS += -L../../lib/x86 -lLiftMechanismInstructionView
LIBS += -L../../lib/x86 -lLiftMechanismInstructionDelegate

LIBS += -L../../lib/x86 -lLoadMapInstructionView
LIBS += -L../../lib/x86 -lLoadMapInstructionDelegate

LIBS += -L../../lib/x86 -lRobotMoveInstructionView
LIBS += -L../../lib/x86 -lRobotMoveInstructionDelegate

LIBS += -L../../lib/x86 -lCheckBatteryView
LIBS += -L../../lib/x86 -lCheckBatteryDelegate

LIBS += -L../../lib/x86 -lWaitCommandView
LIBS += -L../../lib/x86 -lWaitCommandDelegate

LIBS += -L../../lib/x86 -lFileManage
LIBS += -L../../lib/x86 -lFileManageDelegate

LIBS += -L../../lib/x86 -lProgramLanguageTranslate

LIBS += -L../../lib/x86 -lRollerInstructionView
LIBS += -L../../lib/x86 -lRollerInstructionDelegate

LIBS += -L../../lib/x86 -lAxisMoveInstructionView
LIBS += -L../../lib/x86 -lAxisMoveInstructionDelegate

LIBS += -L../../lib/x86 -lWeldStartInstructionView
LIBS += -L../../lib/x86 -lLaserCameraInstructionView
LIBS += -L../../lib/x86 -lWeldEndInstructionView
LIBS += -L../../lib/x86 -lWeaveInstructionView
LIBS += -L../../lib/x86 -lWeaveEndInstructionView
LIBS += -L../../lib/x86 -lTrackWeldTASTInstructionView
LIBS += -L../../lib/x86 -lTrackWeldEndInstructionView
LIBS += -L../../lib/x86 -lWatchDIInstructionView


LIBS += -L../../lib/x86 -lProgramSet

LIBS     += -L../../lib/x86 -lFileGeneralManagement
LIBS     += -L../../lib/x86 -lWeldSettingView

contains( DEFINES, D_FOR_AGV ){
    message("project use D_FOR_AGV !")

LIBS     += -L../../lib/x86 -lmapView
LIBS     += -L../../lib/x86 -lFleetMainPro
LIBS     += -L../../lib/x86 -lmapStructData
LIBS     += -L../../lib/x86 -lmapCommon
LIBS     += -L../../lib/x86 -lDeviceLog
LIBS     += -L../../lib/x86 -lTaskManagement
LIBS     += -L../../lib/x86 -lUserLog
LIBS     += -L../../lib/x86 -lUserManagement
LIBS     += -L../../lib/x86 -lWidgetWait
LIBS     += -L../../lib/x86 -lAgvManagement
LIBS     += -L../../lib/x86 -lMapEdit
LIBS     += -L../../lib/x86 -lFleetMonitor
LIBS     += -L../../lib/x86 -lSocketFleetTest
LIBS     += -ljsoncpp
LIBS     += -L../../lib/x86 -lMapStationEditView
LIBS     += -L../../lib/x86 -lCppSqlite3
LIBS += -lsqlite3

LIBS     += /usr/local/lib/libyaml-cpp.so
LIBS     += -L../../lib/x86 -lagvSetView
LIBS     += -L../../lib/x86 -lWindowShowManage


}

#编译目录
UI_DIR += ../../build/tmphmi/x86_linux
MOC_DIR += ../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../build/tmphmi/x86_linux
RCC_DIR  += ../../build/tmphmi/x86_linux
}


if(contains(DEFINES,D_USE_FLEET_WINDOW)){
message("project use D_USE_FLEET_WINDOW !")


}

if(contains(DEFINES,BUILD_ARM)){


DESTDIR = ../../bin/arm

LIBS     += -L../../lib/arm -lChinesevirtualKeyBoard
LIBS     += -L../../lib/arm -lInputMethodDll
LIBS     += -L../../lib/arm -lDeviceDriver
LIBS     += -L../../lib/arm -lLaserCameraConfigView
LIBS     += -L../../lib/arm -lfleetDebugView
LIBS     += -L../../lib/arm -lbeltTrackView
LIBS     += -L../../lib/arm -lAxisSettingView

LIBS     += -L../../lib/arm -lCoupleControlView
LIBS     += -L../../lib/arm -lDomParser
LIBS     += -L../../lib/arm -lMultiRobotControlDlg

LIBS     += -L../../lib/arm -lRobotSettingDlg


LIBS     += -L../../lib/arm -lCommunicateDelegate

LIBS     += -L../../lib/arm -lJoyStickFunction
LIBS     += -L../../lib/arm -ldelegate
LIBS     += -L../../lib/arm -llogin


LIBS     += -L../../lib/arm -lleftview
LIBS     += -L../../lib/arm -lleftviewdelegate

LIBS     += -L../../lib/arm -ltopview
LIBS     += -L../../lib/arm -ltopviewdelegate

LIBS     += -L../../lib/arm -lrightview
LIBS     += -L../../lib/arm -lrightviewdelegate

LIBS     += -L../../lib/arm -lbottomview
LIBS     += -L../../lib/arm -lbottomviewdelegate

LIBS     += -L../../lib/arm -lleftfun
LIBS     += -L../../lib/arm -lleftfundelegate

LIBS     += -L../../lib/arm -lrightfun
LIBS     += -L../../lib/arm -lrightfundelegate

LIBS     += -L../../lib/arm -lMiddleViewDelegate
LIBS     += -L../../lib/arm -lWeldToolView
LIBS     += -L../../lib/arm -lRunView
LIBS     += -L../../lib/arm -lRunDelegate

LIBS     += -L../../lib/arm -lJogView
LIBS     += -L../../lib/arm -lJogDelegate

LIBS     += -L../../lib/arm -lprogramView
LIBS     += -L../../lib/arm -lprogramDelegate
LIBS     += -L../../lib/arm -lMotionInstructionView
LIBS     += -L../../lib/arm -lMotionInstructionDelegate
LIBS     += -L../../lib/arm -lIfInstructionView
LIBS     += -L../../lib/arm -lIfInstructionDelegate
LIBS     += -L../../lib/arm -lLabelJmpView
LIBS     += -L../../lib/arm -lLabelJmpDelegate
LIBS     += -L../../lib/arm -lWaitInstructionView
LIBS     += -L../../lib/arm -lWaitInstructionDelegate
LIBS     += -L../../lib/arm -lForInstructionView
LIBS     += -L../../lib/arm -lForInstructionDelegate
LIBS     += -L../../lib/arm -lRegisterInstructionView
LIBS     += -L../../lib/arm -lRegisterInstructionDelegate
LIBS     += -L../../lib/arm -lSelectInstructionView
LIBS     += -L../../lib/arm -lSelectInstructionDelegate
LIBS     += -L../../lib/arm -lSkipConditionView
LIBS     += -L../../lib/arm -lSkipConditionDelegate
LIBS     += -L../../lib/arm -lOutputInstructionView
LIBS     += -L../../lib/arm -lOutputInstructionDelegate
LIBS     += -L../../lib/arm -lCoordinateInstructionView
LIBS     += -L../../lib/arm -lCoordinateInstructionDelegate
LIBS     += -L../../lib/arm -lOtherInstructionView
LIBS     += -L../../lib/arm -lOtherInstructionDelegate
LIBS     += -L../../lib/arm -lPalletInstructionView
LIBS     += -L../../lib/arm -lPalletInstructionDelegate
LIBS     += -L../../lib/arm -lVisionInstructionView
LIBS     += -L../../lib/arm -lVisionInstructionDelegate
LIBS     += -L../../lib/arm -lStampInstructionView
LIBS     += -L../../lib/arm -lStampInstructionDelegate

LIBS     += -L../../lib/arm -lsystemstatus
LIBS     += -L../../lib/arm -lsystemstatusdelegate

LIBS     += -L../../lib/arm -lmessageView
LIBS     += -L../../lib/arm -lmessageDelegate

LIBS     += -L../../lib/arm -lprogramFileView
LIBS     += -L../../lib/arm -lprogramFileDelegate

LIBS     += -L../../lib/arm -lHomeMenuView
LIBS     += -L../../lib/arm -lHomeMenuDelegate

LIBS     += -L../../lib/arm -lVrepConfigView
LIBS     += -L../../lib/arm -lVrepConfigDelegate

LIBS     += -L../../lib/arm -lPalletSettingView

LIBS += -L../../lib/arm -lMoveMagInstructionDelegate
LIBS += -L../../lib/arm -lMoveMagInstructionView

LIBS += -L../../lib/arm -lMoveFreeInstructionView
LIBS += -L../../lib/arm -lMoveFreeInstructionDelegate

LIBS += -L../../lib/arm -lModbusStartInstructionDelegate
LIBS += -L../../lib/arm -lModbusStartInstructionView

LIBS += -L../../lib/arm -lModbusReadInstructionDelegate
LIBS += -L../../lib/arm -lModbusReadInstructionView

LIBS += -L../../lib/arm -lModbusWriteInstructionDelegate
LIBS += -L../../lib/arm -lModbusWriteInstructionView

LIBS += -L ../../lib/arm -lOdometryInstructionView
LIBS += -L ../../lib/arm -lOdometryInstructionDelegate

LIBS += -L ../../lib/arm -lTCPStartInstructionView
LIBS += -L ../../lib/arm -lTCPStartInstructionDelegate

LIBS += -L ../../lib/arm -lTCPReadInstructionView
LIBS += -L ../../lib/arm -lTCPReadInstructionDelegate

LIBS += -L ../../lib/arm -lTCPWriteInstructionView
LIBS += -L ../../lib/arm -lTCPWriteInstructionDelegate

LIBS += -L ../../lib/arm -lFtpManage
LIBS += -L../../lib/arm -lQtFtp

LIBS += -L ../../lib/arm -lMusicInstructionView
LIBS += -L ../../lib/arm -lMusicInstructionDelegate

LIBS += -L../../lib/arm -lChargingInstructionDelegate
LIBS += -L../../lib/arm -lChargingInstructionView

LIBS += -L../../lib/arm -lLiftMechanismInstructionView
LIBS += -L../../lib/arm -lLiftMechanismInstructionDelegate

LIBS += -L../../lib/arm -lLoadMapInstructionView
LIBS += -L../../lib/arm -lLoadMapInstructionDelegate

LIBS += -L../../lib/arm -lRobotMoveInstructionView
LIBS += -L../../lib/arm -lRobotMoveInstructionDelegate

LIBS += -L../../lib/arm -lCheckBatteryView
LIBS += -L../../lib/arm -lCheckBatteryDelegate

LIBS += -L../../lib/arm -lWaitCommandView
LIBS += -L../../lib/arm -lWaitCommandDelegate

LIBS += -L../../lib/arm -lFileManage
LIBS += -L../../lib/arm -lFileManageDelegate

LIBS += -L../../lib/arm -lProgramLanguageTranslate

LIBS += -L../../lib/arm -lRollerInstructionView
LIBS += -L../../lib/arm -lRollerInstructionDelegate

LIBS += -L../../lib/arm -lAxisMoveInstructionView
LIBS += -L../../lib/arm -lAxisMoveInstructionDelegate

LIBS += -L../../lib/arm -lWeldStartInstructionView
LIBS += -L../../lib/arm -lLaserCameraInstructionView
LIBS += -L../../lib/arm -lWeldEndInstructionView
LIBS += -L../../lib/arm -lWeaveInstructionView
LIBS += -L../../lib/arm -lWeaveEndInstructionView
LIBS += -L../../lib/arm -lTrackWeldTASTInstructionView
LIBS += -L../../lib/arm -lTrackWeldEndInstructionView
LIBS += -L../../lib/arm -lWatchDIInstructionView

LIBS += -L../../lib/arm -lProgramSet


LIBS     += -L../../lib/arm -lFileGeneralManagement
LIBS     += -L../../lib/arm -lWeldSettingView

#编译目录
UI_DIR += ../../build/tmphmi_arm
MOC_DIR += ../../build/tmphmi_arm
OBJECTS_DIR += ../../build/tmphmi_arm
RCC_DIR  += ../../build/tmphmi_arm
}

FORMS += \
    mainwindow.ui \
    hmimessageboxdialog.ui

TRANSLATIONS += myLanguage_en.ts

#CODECFOPTR = utf-8




contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../bin/x86_WINDOWS
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../bin/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../bin/arm
}
